using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using XinBang.Entity;
using XinBang.Util;

namespace XinBang.Web.Admin
{
    public partial class Top : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            try
            {
                Member m = SessionUtil.GetMemberSession();
                username.Text = m.Username;
            }
            catch (MissSessionException)
            {
                Response.Write("<script type='text/javascript'>top.location.href='Index.aspx';</script>");
                Response.End();
            }
        }
    }
}